﻿using JESAI.Biz.Data.Enums.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JESAI.Application.Abstractions.Sys.Dtos
{
    public class ScheduleDto
    {
        public string Id { get; set; }

        /// <summary>
        /// 任务名称
        /// </summary>
        public string Name { get; set; }

        public string Description { get; set; }

        public YesOrNo IsValid { get; set; }

        public string Cron { get; set; }

        public DateTime LastRunTime { get; set; }

        public DateTime CreateTime { get; set; }

        public string Args { get; set; }

        public string ClassName { get; set; }

        public string MethodName { get; set; }

        public string Assembly { get; set; }
        public string Queue { get; set; }

        public int RunNum { get; set; }

        public ScheduleType ScheduleType { get; set; }

        public ScheduleStstusType ScheduleStstus { get; set; }

        public YesOrNo IsAutoStart { get; set; }
    }
}
